<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8"/>
<title></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<script src="/assets/global/plugins/pace/pace.min.js" type="text/javascript"></script>
<link href="/assets/global/plugins/pace/themes/pace-theme-flash.css" rel="stylesheet" type="text/css"/>
<link href="/assets/global/plugins/font-opensans/font-opensans.css" rel="stylesheet" type="text/css"/>
<link href="/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
<link href="/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="/assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
<link href="/assets/pages/css/login.css" rel="stylesheet" type="text/css"/>
<link href="/assets/global/css/components-rounded.css" id="style_components" rel="stylesheet" type="text/css"/>
<link href="/assets/global/css/plugins.css" rel="stylesheet" type="text/css"/>
<link href="/assets/layout/css/layout.css" rel="stylesheet" type="text/css"/>
<link href="/assets/layout/css/themes/darkblue.css" rel="stylesheet" type="text/css" id="style_color"/>
<link href="/assets/layout/css/custom.css" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" href="favicon.ico"/>
</head>
<body class="login">
<div class="menu-toggler sidebar-toggler"></div>
<div class="logo">
	<a href="javascript:void(0)">
		<img data-src="/assets/layout/img/logo-big.png" id="logoImg">
	</a>
</div>
<div class="content clearfix">
	<form class="login-form" action="/templates/userLogin.action" method="post">
		<div class="alert alert-danger display-hide">
			<button class="close" data-close="alert"></button>
			<span>请输入用户名和密码</span>
		</div>
		<div class="form-group">
			<label class="control-label visible-ie8 visible-ie9">用户名</label>			
			<div class="input-icon">
				<i class="fa fa-user"></i>
				<input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="用户名" name="username"/>
			</div>
		</div>
		<div class="form-group">
			<label class="control-label visible-ie8 visible-ie9">密码</label>			
			<div class="input-icon">
				<i class="fa fa-lock"></i>
				<input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="密码" name="password"/>
			</div>
		</div>
		<div class="form-group error" id="msgDiv" style="color:red;"></div>
		<div class="form-actions">
			<button type="submit" class="btn btn-primary btn-lg btn-block" id="btn_login">登录 <i class="m-icon-swapright m-icon-white"></i></button>
		</div>
	</form>
</div>
<div class="copyright">Copyright <sup>&copy;</sup> 2018<span class="appName"></span>电子商务有限公司.</div>
<script src="/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
<script src="/assets/global/plugins/jquery.cookie.min.js" type="text/javascript"></script>
<script src="/assets/global/plugins/jquery-migrate.min.js" type="text/javascript"></script>
<script src="/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="/assets/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="/assets/global/plugins/jquery-validation/js/jquery.validate.min.js" type="text/javascript"></script>
<script src="/assets/global/scripts/metronic.js" type="text/javascript"></script>
<script src="/assets/layout/scripts/layout.js" type="text/javascript"></script>
<script src="/assets/pages/scripts/login.js" type="text/javascript"></script>
<script>
jQuery(document).ready(function() {     
	Metronic.init(); // init metronic core components
	Layout.init(); // init current layout
	Login.init();	
});
window.onload=function(){
	var href = window.location.href;
	if(href.indexOf("templates") < 0){
		window.location.href = "/templates/login.html";
	}
	var absPath = href.substr(0,href.indexOf("templates"));
	$("#logoImg").attr("src","/assets/layout/img/logo-big.png");
	$(".appName").text("哈哈");
	document.title = "哈皮购-运营管理平台";
};
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>